package org.clxmm.security.springmvc.service;

import org.clxmm.security.springmvc.model.AuthenticationRequest;
import org.clxmm.security.springmvc.model.UserDto;

/**
 * @author clxmm
 * @Description
 * @create 2021-06-06 5:51 下午
 */

public interface AuthenticationService {


    /**
     * 用户认证
     * @param authenticationRequest 用户认证请求 * @return 认证成功的用户信息
     */
    UserDto authentication(AuthenticationRequest authenticationRequest);
}
